package com.aaa.doctor.feign;

import com.aaa.entity.Dept;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "his-open-system")
public interface DeptFegin {

    @GetMapping("system/dept/getAllDept/{deptId}")
    public Dept getAllDept(@PathVariable Long deptId);
}
